package ysm.entity;

import java.util.ArrayList;
import java.util.List;

public class UsercomployeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UsercomployeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andEmploymentIsNull() {
            addCriterion("employment is null");
            return (Criteria) this;
        }

        public Criteria andEmploymentIsNotNull() {
            addCriterion("employment is not null");
            return (Criteria) this;
        }

        public Criteria andEmploymentEqualTo(String value) {
            addCriterion("employment =", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentNotEqualTo(String value) {
            addCriterion("employment <>", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentGreaterThan(String value) {
            addCriterion("employment >", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentGreaterThanOrEqualTo(String value) {
            addCriterion("employment >=", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentLessThan(String value) {
            addCriterion("employment <", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentLessThanOrEqualTo(String value) {
            addCriterion("employment <=", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentLike(String value) {
            addCriterion("employment like", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentNotLike(String value) {
            addCriterion("employment not like", value, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentIn(List<String> values) {
            addCriterion("employment in", values, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentNotIn(List<String> values) {
            addCriterion("employment not in", values, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentBetween(String value1, String value2) {
            addCriterion("employment between", value1, value2, "employment");
            return (Criteria) this;
        }

        public Criteria andEmploymentNotBetween(String value1, String value2) {
            addCriterion("employment not between", value1, value2, "employment");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNull() {
            addCriterion("company is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNotNull() {
            addCriterion("company is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyEqualTo(String value) {
            addCriterion("company =", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotEqualTo(String value) {
            addCriterion("company <>", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThan(String value) {
            addCriterion("company >", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("company >=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThan(String value) {
            addCriterion("company <", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThanOrEqualTo(String value) {
            addCriterion("company <=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLike(String value) {
            addCriterion("company like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotLike(String value) {
            addCriterion("company not like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyIn(List<String> values) {
            addCriterion("company in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotIn(List<String> values) {
            addCriterion("company not in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyBetween(String value1, String value2) {
            addCriterion("company between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotBetween(String value1, String value2) {
            addCriterion("company not between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNull() {
            addCriterion("organization is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNotNull() {
            addCriterion("organization is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationEqualTo(String value) {
            addCriterion("organization =", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotEqualTo(String value) {
            addCriterion("organization <>", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThan(String value) {
            addCriterion("organization >", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("organization >=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThan(String value) {
            addCriterion("organization <", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThanOrEqualTo(String value) {
            addCriterion("organization <=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLike(String value) {
            addCriterion("organization like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotLike(String value) {
            addCriterion("organization not like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationIn(List<String> values) {
            addCriterion("organization in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotIn(List<String> values) {
            addCriterion("organization not in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationBetween(String value1, String value2) {
            addCriterion("organization between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotBetween(String value1, String value2) {
            addCriterion("organization not between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andUnitnatureIsNull() {
            addCriterion("unitnature is null");
            return (Criteria) this;
        }

        public Criteria andUnitnatureIsNotNull() {
            addCriterion("unitnature is not null");
            return (Criteria) this;
        }

        public Criteria andUnitnatureEqualTo(String value) {
            addCriterion("unitnature =", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureNotEqualTo(String value) {
            addCriterion("unitnature <>", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureGreaterThan(String value) {
            addCriterion("unitnature >", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureGreaterThanOrEqualTo(String value) {
            addCriterion("unitnature >=", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureLessThan(String value) {
            addCriterion("unitnature <", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureLessThanOrEqualTo(String value) {
            addCriterion("unitnature <=", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureLike(String value) {
            addCriterion("unitnature like", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureNotLike(String value) {
            addCriterion("unitnature not like", value, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureIn(List<String> values) {
            addCriterion("unitnature in", values, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureNotIn(List<String> values) {
            addCriterion("unitnature not in", values, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureBetween(String value1, String value2) {
            addCriterion("unitnature between", value1, value2, "unitnature");
            return (Criteria) this;
        }

        public Criteria andUnitnatureNotBetween(String value1, String value2) {
            addCriterion("unitnature not between", value1, value2, "unitnature");
            return (Criteria) this;
        }

        public Criteria andContactpersonIsNull() {
            addCriterion("contactperson is null");
            return (Criteria) this;
        }

        public Criteria andContactpersonIsNotNull() {
            addCriterion("contactperson is not null");
            return (Criteria) this;
        }

        public Criteria andContactpersonEqualTo(String value) {
            addCriterion("contactperson =", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonNotEqualTo(String value) {
            addCriterion("contactperson <>", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonGreaterThan(String value) {
            addCriterion("contactperson >", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonGreaterThanOrEqualTo(String value) {
            addCriterion("contactperson >=", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonLessThan(String value) {
            addCriterion("contactperson <", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonLessThanOrEqualTo(String value) {
            addCriterion("contactperson <=", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonLike(String value) {
            addCriterion("contactperson like", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonNotLike(String value) {
            addCriterion("contactperson not like", value, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonIn(List<String> values) {
            addCriterion("contactperson in", values, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonNotIn(List<String> values) {
            addCriterion("contactperson not in", values, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonBetween(String value1, String value2) {
            addCriterion("contactperson between", value1, value2, "contactperson");
            return (Criteria) this;
        }

        public Criteria andContactpersonNotBetween(String value1, String value2) {
            addCriterion("contactperson not between", value1, value2, "contactperson");
            return (Criteria) this;
        }

        public Criteria andWorkphoneIsNull() {
            addCriterion("workphone is null");
            return (Criteria) this;
        }

        public Criteria andWorkphoneIsNotNull() {
            addCriterion("workphone is not null");
            return (Criteria) this;
        }

        public Criteria andWorkphoneEqualTo(String value) {
            addCriterion("workphone =", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotEqualTo(String value) {
            addCriterion("workphone <>", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneGreaterThan(String value) {
            addCriterion("workphone >", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneGreaterThanOrEqualTo(String value) {
            addCriterion("workphone >=", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneLessThan(String value) {
            addCriterion("workphone <", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneLessThanOrEqualTo(String value) {
            addCriterion("workphone <=", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneLike(String value) {
            addCriterion("workphone like", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotLike(String value) {
            addCriterion("workphone not like", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneIn(List<String> values) {
            addCriterion("workphone in", values, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotIn(List<String> values) {
            addCriterion("workphone not in", values, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneBetween(String value1, String value2) {
            addCriterion("workphone between", value1, value2, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotBetween(String value1, String value2) {
            addCriterion("workphone not between", value1, value2, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkaddressIsNull() {
            addCriterion("workaddress is null");
            return (Criteria) this;
        }

        public Criteria andWorkaddressIsNotNull() {
            addCriterion("workaddress is not null");
            return (Criteria) this;
        }

        public Criteria andWorkaddressEqualTo(String value) {
            addCriterion("workaddress =", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressNotEqualTo(String value) {
            addCriterion("workaddress <>", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressGreaterThan(String value) {
            addCriterion("workaddress >", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressGreaterThanOrEqualTo(String value) {
            addCriterion("workaddress >=", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressLessThan(String value) {
            addCriterion("workaddress <", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressLessThanOrEqualTo(String value) {
            addCriterion("workaddress <=", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressLike(String value) {
            addCriterion("workaddress like", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressNotLike(String value) {
            addCriterion("workaddress not like", value, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressIn(List<String> values) {
            addCriterion("workaddress in", values, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressNotIn(List<String> values) {
            addCriterion("workaddress not in", values, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressBetween(String value1, String value2) {
            addCriterion("workaddress between", value1, value2, "workaddress");
            return (Criteria) this;
        }

        public Criteria andWorkaddressNotBetween(String value1, String value2) {
            addCriterion("workaddress not between", value1, value2, "workaddress");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andPostalIsNull() {
            addCriterion("postal is null");
            return (Criteria) this;
        }

        public Criteria andPostalIsNotNull() {
            addCriterion("postal is not null");
            return (Criteria) this;
        }

        public Criteria andPostalEqualTo(String value) {
            addCriterion("postal =", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalNotEqualTo(String value) {
            addCriterion("postal <>", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalGreaterThan(String value) {
            addCriterion("postal >", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalGreaterThanOrEqualTo(String value) {
            addCriterion("postal >=", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalLessThan(String value) {
            addCriterion("postal <", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalLessThanOrEqualTo(String value) {
            addCriterion("postal <=", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalLike(String value) {
            addCriterion("postal like", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalNotLike(String value) {
            addCriterion("postal not like", value, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalIn(List<String> values) {
            addCriterion("postal in", values, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalNotIn(List<String> values) {
            addCriterion("postal not in", values, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalBetween(String value1, String value2) {
            addCriterion("postal between", value1, value2, "postal");
            return (Criteria) this;
        }

        public Criteria andPostalNotBetween(String value1, String value2) {
            addCriterion("postal not between", value1, value2, "postal");
            return (Criteria) this;
        }

        public Criteria andWorkmailIsNull() {
            addCriterion("workmail is null");
            return (Criteria) this;
        }

        public Criteria andWorkmailIsNotNull() {
            addCriterion("workmail is not null");
            return (Criteria) this;
        }

        public Criteria andWorkmailEqualTo(String value) {
            addCriterion("workmail =", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailNotEqualTo(String value) {
            addCriterion("workmail <>", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailGreaterThan(String value) {
            addCriterion("workmail >", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailGreaterThanOrEqualTo(String value) {
            addCriterion("workmail >=", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailLessThan(String value) {
            addCriterion("workmail <", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailLessThanOrEqualTo(String value) {
            addCriterion("workmail <=", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailLike(String value) {
            addCriterion("workmail like", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailNotLike(String value) {
            addCriterion("workmail not like", value, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailIn(List<String> values) {
            addCriterion("workmail in", values, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailNotIn(List<String> values) {
            addCriterion("workmail not in", values, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailBetween(String value1, String value2) {
            addCriterion("workmail between", value1, value2, "workmail");
            return (Criteria) this;
        }

        public Criteria andWorkmailNotBetween(String value1, String value2) {
            addCriterion("workmail not between", value1, value2, "workmail");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesIsNull() {
            addCriterion("jobcategories is null");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesIsNotNull() {
            addCriterion("jobcategories is not null");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesEqualTo(String value) {
            addCriterion("jobcategories =", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesNotEqualTo(String value) {
            addCriterion("jobcategories <>", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesGreaterThan(String value) {
            addCriterion("jobcategories >", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesGreaterThanOrEqualTo(String value) {
            addCriterion("jobcategories >=", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesLessThan(String value) {
            addCriterion("jobcategories <", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesLessThanOrEqualTo(String value) {
            addCriterion("jobcategories <=", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesLike(String value) {
            addCriterion("jobcategories like", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesNotLike(String value) {
            addCriterion("jobcategories not like", value, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesIn(List<String> values) {
            addCriterion("jobcategories in", values, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesNotIn(List<String> values) {
            addCriterion("jobcategories not in", values, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesBetween(String value1, String value2) {
            addCriterion("jobcategories between", value1, value2, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andJobcategoriesNotBetween(String value1, String value2) {
            addCriterion("jobcategories not between", value1, value2, "jobcategories");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryIsNull() {
            addCriterion("industrycategory is null");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryIsNotNull() {
            addCriterion("industrycategory is not null");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryEqualTo(String value) {
            addCriterion("industrycategory =", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryNotEqualTo(String value) {
            addCriterion("industrycategory <>", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryGreaterThan(String value) {
            addCriterion("industrycategory >", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryGreaterThanOrEqualTo(String value) {
            addCriterion("industrycategory >=", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryLessThan(String value) {
            addCriterion("industrycategory <", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryLessThanOrEqualTo(String value) {
            addCriterion("industrycategory <=", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryLike(String value) {
            addCriterion("industrycategory like", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryNotLike(String value) {
            addCriterion("industrycategory not like", value, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryIn(List<String> values) {
            addCriterion("industrycategory in", values, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryNotIn(List<String> values) {
            addCriterion("industrycategory not in", values, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryBetween(String value1, String value2) {
            addCriterion("industrycategory between", value1, value2, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andIndustrycategoryNotBetween(String value1, String value2) {
            addCriterion("industrycategory not between", value1, value2, "industrycategory");
            return (Criteria) this;
        }

        public Criteria andSalaryIsNull() {
            addCriterion("salary is null");
            return (Criteria) this;
        }

        public Criteria andSalaryIsNotNull() {
            addCriterion("salary is not null");
            return (Criteria) this;
        }

        public Criteria andSalaryEqualTo(String value) {
            addCriterion("salary =", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotEqualTo(String value) {
            addCriterion("salary <>", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryGreaterThan(String value) {
            addCriterion("salary >", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryGreaterThanOrEqualTo(String value) {
            addCriterion("salary >=", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryLessThan(String value) {
            addCriterion("salary <", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryLessThanOrEqualTo(String value) {
            addCriterion("salary <=", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryLike(String value) {
            addCriterion("salary like", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotLike(String value) {
            addCriterion("salary not like", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryIn(List<String> values) {
            addCriterion("salary in", values, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotIn(List<String> values) {
            addCriterion("salary not in", values, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryBetween(String value1, String value2) {
            addCriterion("salary between", value1, value2, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotBetween(String value1, String value2) {
            addCriterion("salary not between", value1, value2, "salary");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}